<template>
	<view class="page" :style="themeColor">
		<view
			class="flex flex-direction flex-wrap align-stretch benben-position-layout flex shoppingCartSettlement_flex_0"
			:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
			<view class='flex flex-wrap align-center justify-between shoppingCartSettlement_fd0_0'>
				<view class='flex flex-wrap align-center shoppingCartSettlement_fd0_0_c0' @tap.stop="handleJumpDiy"
					data-type="back" data-url="1">
					<text class='fu-iconfont2  shoppingCartSettlement_fd0_0_c0_c0'>&#xE794;</text>
				</view>
				<view class='flex flex-wrap align-center'>
					<text class='shoppingCartSettlement_fd0_0_c1_c0'>提交订单</text>
				</view>
				<view class='flex align-center justify-end shoppingCartSettlement_fd0_0_c2'>
				</view>
			</view>

		</view>
		<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
		<view class="loading_css" v-if="isShow">
			<u-loading size="36" color="#F35D2A"></u-loading>
			<view>加载中</view>
		</view>
		<template v-else>
			<!---商品详情flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout shoppingCartSettlement_flex_2">
				<view class='flex flex-direction flex-wrap align-stretch shoppingCartSettlement_fd2_0'>
					<view class='flex flex-wrap align-center' style="width: 100%;">
						<view class='flex flex-wrap align-stretch shoppingCartSettlement_fd2_0_c0_c0' style="width: 100%;">
							<image class='shoppingCartSettlement_fd2_0_c0_c0_c0' mode="aspectFill" :src='orderPlaceInfo.thumb'></image>
							<view class='flex flex-direction flex-wrap align-stretch flex-sub shoppingCartSettlement_fd2_0_c0_c0_c1'>
								<view class='flex flex-wrap align-center shoppingCartSettlement_fd2_0_c0_c0_c1_c0'>{{orderPlaceInfo.name}}</view>
								<!-- <view class='flex flex-wrap align-center shoppingCartSettlement_fd2_0_c0_c0_c1_c1'>
									<text class='shoppingCartSettlement_fd2_0_c0_c0_c1_c1_c0'></text>
								</view> -->
								<view class='flex flex-wrap align-center justify-between shoppingCartSettlement_fd2_0_c0_c0_c1_c2'>
									<view class='flex flex-wrap align-center'>
										<text class='shoppingCartSettlement_fd2_0_c0_c0_c1_c2_c0_c0'>￥</text>
										<view class=' shoppingCartSettlement_fd2_0_c0_c0_c1_c2_c0_c1'>
											<text
												class=' shoppingCartSettlement_price1_fd2_0_c0_c0_c1_c2_c0_c1'>{{ orderPlaceInfo.price | frontPrice }}</text>
											<text
												class=' shoppingCartSettlement_price2_fd2_0_c0_c0_c1_c2_c0_c1'>{{orderPlaceInfo.price | laterPrice }}</text>
										</view>
										<text v-if="course_type == 3" class='shoppingCartSettlement_fd2_0_c0_c0_c1_c2_c0_c0'>/节</text>
									</view>
									<view class='flex flex-wrap align-center shoppingCartSettlement_fd2_0_c0_c0_c1_c2_c1'>
										<template v-if="course_type == 3">
											<text>x</text>
											<text>{{orderPlaceInfo.nums}}</text>
										</template>
									</view>
								</view>
							</view>
						</view>
					</view>
					<view class='flex flex-wrap align-center shoppingCartSettlement_fd2_0_c1'>
					</view>
					
					<view class="evaluate_title" style="border: 0;">
						<view class="evaluate_title_left">
							<view class="evaluate_title_left_1"></view>
							<view class="evaluate_title_left_2">教练</view>
						</view>
						<view class="evaluate_title_right">
						</view>
					</view>
					<view class="coach_item">
						<view class="coach_view">
							<view class="course_item_left">
								<image :src='staff_info.image' mode="aspectFill"></image>
							</view>
							<view class="course_item_right">
								<view class="course_item_right_1">
									<view class="coach_name">{{staff_info.name}}</view>
									<u-rate :disabled="true" :count="5" v-model="staff_info.stars" active-color="#FC5830" inactive-color="#C1C1C1" gutter="0" size="20" inactive-icon="star-fill"></u-rate>
								</view>
								<view class="course_item_right_2" v-if="staff_info.label.length > 0">
									<view class="course_item_right_2_1" v-for="(v, k) in staff_info.label" :key="k">
										{{v}}
									</view>
								</view>
							</view>
						</view>
					</view>
					
				</view>
				<view style="padding: 0 32rpx;background: #fff;margin-top: 20rpx;">
					<view class='flex flex-direction flex-wrap align-stretch shoppingCartSettlement_fd2_0_c3'>
						<view class='flex flex-wrap align-center justify-between shoppingCartSettlement_fd2_0_c3_c0'>
							<text class='shoppingCartSettlement_fd2_0_c3_c0_c0'>订单总价</text>
							<view class='flex flex-wrap align-center'>
								<text class='shoppingCartSettlement_fd2_0_c3_c0_c1_c0'>¥</text>
								<view class=' shoppingCartSettlement_fd2_0_c3_c0_c1_c1'>
									<text>{{ orderPlaceInfo.total_price | frontPrice }}</text>
									<text>{{ orderPlaceInfo.total_price | laterPrice }}</text>
								</view>
							</view>
						</view>
						<view v-if="couponList.length" @tap.stop="isShowConpon=true" class='flex flex-wrap align-center cartBilling_fd1_2_c1'>
							<text class='cartBilling_fd1_2_c1_c0'>优惠券</text>
							<view class='select_coupon' v-if="sCoupon.money">
								<image :src='STATIC_URL+"12.png"' mode="aspectFill"></image>
								<text>优惠{{sCoupon.money}}元</text>
							</view>
							<text class='cartBilling_fd1_2_c2_c1' v-else>选择优惠券</text>
							<image class='cartBilling_fd1_2_c2_c2' mode="aspectFit" :src='STATIC_URL+"285.png"'></image>
						</view>
						<view class='flex flex-wrap align-center shoppingCartSettlement_fd2_0_c3_c3'>
							<text class="shoppingCartSettlement_fd2_0_c3_c0_c0">留言</text>
							<input class='flex-sub shoppingCartSettlement_fd2_0_c3_c3_c1' type="text"
								placeholder="建议留言前先与商家沟通确认" :maxlength="50"
								placeholder-style="color:rgba(191, 191, 191, 1);font-size:32rpx" v-model="fd2_0_c3_c3_c1" />
						</view>
					</view>
				</view>
			</view>
			
			<view
				class="flex flex-wrap align-center justify-between benben-position-layout flex shoppingCartSettlement_flex_6">
				<view class='flex flex-wrap align-center shoppingCartSettlement_fd6_0'>
					<text>总计：</text>
					<text class='shoppingCartSettlement_fd6_0_c1'>￥</text>
					<view class='flex-wrap align-center shoppingCartSettlement_fd6_0_c2'>
						<text
							class=' shoppingCartSettlement_price1_fd6_0_c2'>{{ orderPlaceInfo.total_price | frontPrice }}</text>
						<text
							class=' shoppingCartSettlement_price2_fd6_0_c2'>{{ orderPlaceInfo.total_price | laterPrice }}</text>
					</view>
				</view>
				<view class='shoppingCartSettlement_fd6_1' @tap.stop="submitOrder">立即支付</view>
			
			</view>
			
			<view :style="{height: '88rpx'}"></view>
		</template>
		
		
		<Coupon v-model="isShowConpon" :list="couponList" @confirm="couponConfirm" />
	</view>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'
	import Coupon from './Coupon.vue'
	export default {
		components: {
			Coupon
		},


		data() {
			return {
				"popupShow1657183392583": false,
				"fd2_0_c3_c3_c1": "",
				"couponList": [],
				"onceIndex": 1,
				"is_tick": true,
				"orderPlaceInfo": {},  // 预定义订单信息
				"staff_info": {
					label: []
				},  // 教练信息
				"aid": "",
				"staff_id": "",
				"nums": "",
				"isShowConpon": false,
				"sCoupon": {
					money: "",
					id: ""
				},
				"isShow": true,
				is_submit: false,
				course_type: "1",  // 课程类型 3私教课
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			let {
				aid,
				staff_id,
				nums,
				course_type
			} = options
			if (aid !== undefined) this.aid = aid;
			if (staff_id !== undefined) this.staff_id = staff_id;
			if (nums !== undefined) this.nums = nums;
			if (course_type !== undefined) this.course_type = course_type;
			this.place_orderFunc();
		},
		onUnload() {
			
		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			// 获取优惠券  post65b74e27c1ecf
			getCoupon() {
				this.$api.post(global.apiUrls.post65b74e27c1ecf, {
					money: this.orderPlaceInfo.total_price
				}).then(res => {
					if (res.data.code == 1) {
						this.couponList = res.data.data;
					} else {
						this.$message.info(res.data.msg);
					}
				})
			},
			//选中优惠券
			couponConfirm(e) {
				console.log(e);
				this.sCoupon.money = e.money;
				this.sCoupon.id = e.coupon_id;
				this.orderPlaceInfo.total_price = Number(this.orderPlaceInfo.total_price) - Number(e.money);
			},
			//获取预定义下单信息
			place_orderFunc() {
				this.$api.post(global.apiUrls.post65b74db8e6480, {
					course_id: this.aid,
					staff_id: this.staff_id,
					nums: this.nums
				}).then(res => {
					// console.log(res);
					this.isShow = false;
					if (res.data.code == 1) {
						this.orderPlaceInfo = res.data.data;
						this.staff_info = res.data.data.staff_info;
						this.getCoupon();
					} else {
						this.$message.info(res.data.msg);
					}
				})
			},
			// 提交订单
			submitOrder() {
				if (this.is_submit) return;
				this.is_submit = true;
				this.$api.post(global.apiUrls.post65b74f1c89979, {
					course_id: this.aid,
					data_type: 2,
					staff_id: this.staff_id,
					nums: this.nums,
					remark: this.fd2_0_c3_c3_c1,
					coupon_id: this.sCoupon.id
				}).then(res => {
					if (res.data.code == 1) {
						this.is_submit = false;
						uni.redirectTo({
							url: '/pages/shouye/oneAppointment/offerPay?order_sn=' + res.data.data.order_sn + '&order_type=4'
						})
					} else {
						this.is_submit = false;
						this.$message.info(res.data.msg);
					}
				})
			},
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #F8F8F8;
		background-size: 100% auto !important;
	}

	.shoppingCartSettlement_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.shoppingCartSettlement_fd0_0_c2 {
		padding: 0rpx 0rpx 0rpx 0rpx;
		width: 200rpx;
	}

	.shoppingCartSettlement_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
	}

	.shoppingCartSettlement_fd0_0_c0_c0 {
		font-size: 36rpx;
		color: #333;
		font-weight: 500;
	}

	.shoppingCartSettlement_fd0_0_c0 {
		width: 200rpx;
	}

	.shoppingCartSettlement_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		line-height: 88rpx;
	}

	.shoppingCartSettlement_flex_1 {
		padding: 24rpx 24rpx 0rpx 24rpx;
	}

	.shoppingCartSettlement_fd1_1_c3 {
		width: 702rpx;
		height: 6rpx;
		position: absolute;
		bottom: 0rpx;
		left: 0rpx;
	}

	.shoppingCartSettlement_fd1_1_c2 {
		width: 12rpx;
		height: 22rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 10rpx 24rpx 0rpx 16rpx;
	}

	.shoppingCartSettlement_fd1_1_c1_c1_c0_c3 {
		color: #666666;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 40rpx;
	}

	.shoppingCartSettlement_fd1_1_c1_c1_c0_c2 {
		color: #666666;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 40rpx;
	}

	.shoppingCartSettlement_fd1_1_c1_c1_c0_c1 {
		color: #666666;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 40rpx;
	}

	.shoppingCartSettlement_fd1_1_c1_c1_c0_c0 {
		color: #666666;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 40rpx;
	}

	.shoppingCartSettlement_fd1_1_c1_c1_c0 {
		max-width: 500rpx;
	}

	.shoppingCartSettlement_fd1_1_c1_c1 {
		margin: 16rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd1_1_c1_c0_c2 {
		font-size: 32rpx;
		font-weight: 500;
		color: #333333;
	}

	.shoppingCartSettlement_fd1_1_c1_c0_c1_c0 {
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		max-width: 160rpx;
	}

	.shoppingCartSettlement_fd1_1_c1_c0_c1 {
		line-height: 34rpx;
		font-size: 32rpx;
		font-weight: 700;
		color: #333333;
		margin: 0rpx 32rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd1_1_c1_c0_c0 {
		border: 1px solid rgba(51, 51, 51, 1);
		font-size: 24rpx;
		font-weight: 400;
		color: rgba(51, 51, 51, 1);
		line-height: 32rpx;
		padding: 0rpx 16rpx 0rpx 16rpx;
		margin: 0rpx 16rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd1_1_c1 {
		margin: 0rpx 0rpx 0rpx 32rpx;
	}

	.shoppingCartSettlement_fd1_1_c0 {
		width: 60rpx;
		height: 60rpx;
		margin: 0rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd1_1 {
		background: #fff;
		background-size: 100% auto !important;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		padding: 40rpx 0rpx 40rpx 24rpx;
		position: relative;
	}

	.shoppingCartSettlement_fd1_0_c1 {
		font-size: 32rpx;
		font-weight: 700;
		color: #333333;
		margin: 0rpx 0rpx 0rpx 24rpx;
	}

	.shoppingCartSettlement_fd1_0_c0 {
		width: 60rpx;
		height: 60rpx;
	}

	.shoppingCartSettlement_fd1_0 {
		background: #fff;
		background-size: 100% auto !important;
		padding: 32rpx 0rpx 32rpx 0rpx;
		margin: 0rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_flex_2 {
	}

	.shoppingCartSettlement_price2_fd2_0_c3_c4_c2 {
		font-size: 22rpx;
	}

	.shoppingCartSettlement_price1_fd2_0_c3_c4_c2 {
		font-size: 32rpx;
	}

	.shoppingCartSettlement_fd2_0_c3_c4_c2 {
		color: #2A2A2A;
		font-weight: 500;
		line-height: 37rpx;
		font-size: 28rpx;
	}

	.shoppingCartSettlement_fd2_0_c3_c4_c1 {
		font-size: 22rpx;
		font-weight: 500;
		color: #2A2A2A;
		line-height: 37rpx;
	}

	.shoppingCartSettlement_fd2_0_c3_c4_c0_c3 {
		margin: 0rpx 0rpx 0rpx 15rpx;
	}

	.shoppingCartSettlement_fd2_0_c3_c4_c0 {
		font-size: 24rpx;
		font-weight: 500;
		color: #666666;
	}

	.shoppingCartSettlement_fd2_0_c3_c4 {
		margin: 24rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd2_0_c3_c3_c1 {
		margin: 0rpx 0rpx 0rpx 32rpx;
		font-size: 32rpx;
		font-weight: 400;
		color: #333;
		line-height: 42rpx;
		text-align: right;
	}

	.shoppingCartSettlement_fd2_0_c3_c3 {
		margin: 0rpx 0rpx 0rpx 0rpx;
		padding-bottom: 32rpx;
	}

	.shoppingCartSettlement_fd2_0_c3_c2_c2 {
		width: 12rpx;
		height: 22rpx;
	}

	.shoppingCartSettlement_fd2_0_c3_c2_c1_c0 {
		color: #2A2A2A;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 42rpx;
	}

	.shoppingCartSettlement_fd2_0_c3_c2_c1 {
		background: transparent;
		font-size: 22rpx;
		font-weight: 500;
		color: #FA2033;
		background-size: 100% auto !important;
		width: 136rpx;
		padding: 4rpx 0rpx 4rpx 0rpx;
		margin: 0rpx 0rpx 0rpx auto;
		line-height: 32rpx;
	}

	.shoppingCartSettlement_fd2_0_c3_c2_c0 {
		font-size: 28rpx;
		font-weight: 500;
		color: #333333;
	}

	.shoppingCartSettlement_fd2_0_c3_c2 {
		margin: 0rpx 0rpx 32rpx 0rpx;
	}

	.shoppingCartSettlement_fd2_0_c3_c1_c1_c1 {
		color: #333333;
		font-weight: 400;
		font-size: 28rpx;
	}

	.shoppingCartSettlement_fd2_0_c3_c1_c1_c0 {
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
	}

	.shoppingCartSettlement_fd2_0_c3_c1_c0_c1 {
		display: inline-block;
		transform: translateY(4rpx);
		border: 1px solid #AEAEAE;
		background: rgba(255, 255, 255, 0.39);
		border-radius: 50%;
		font-size: 24rpx;
		width: 30rpx;
		height: 30rpx;
		text-align: center;
		margin: 0rpx 0rpx 0rpx 20rpx;
		line-height: 28rpx;
		color: rgba(174, 174, 174, 1);
	}

	.shoppingCartSettlement_fd2_0_c3_c1 {
		margin: 0rpx 0rpx 32rpx 0rpx;
	}

	.shoppingCartSettlement_fd2_0_c3_c0_c1_c1 {
		color: #EA3D1A;
		font-weight: 400;
		font-size: 32rpx;
	}

	.shoppingCartSettlement_fd2_0_c3_c0_c1_c0 {
		font-size: 32rpx;
		font-weight: 400;
		color: #EA3D1A;
	}

	.shoppingCartSettlement_fd2_0_c3_c0_c0 {
		font-size: 32rpx;
		font-weight: 500;
		color: #666;
	}

	.shoppingCartSettlement_fd2_0_c3_c0 {
		margin: 0rpx 0rpx 32rpx 0rpx;
		padding-bottom: 32rpx;
		border-bottom: 1rpx solid #eee;
	}

	.shoppingCartSettlement_fd2_0_c3 {
		margin: 32rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_price2_fd2_0_c2_c1_c0_c1_c1_c1 {
		font-size: 28rpx;
	}

	.shoppingCartSettlement_price1_fd2_0_c2_c1_c0_c1_c1_c1 {
		font-size: 32rpx;
	}

	.shoppingCartSettlement_fd2_0_c2_c1_c0_c1_c1_c1 {
		color: #2A2A2A;
		font-weight: 400;
		line-height: 40rpx;
		font-size: 28rpx;
	}

	.shoppingCartSettlement_fd2_0_c2_c1_c0_c1_c1_c0 {
		color: #2A2A2A;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 40rpx;
	}

	.shoppingCartSettlement_fd2_0_c2_c1_c0_c1_c1 {
		margin: 16rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd2_0_c2_c1_c0_c1_c0_c0 {
		color: #2A2A2A;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 40rpx;
	}

	.shoppingCartSettlement_fd2_0_c2_c1_c0_c1 {
		background: rgba(250, 250, 250, 1);
		background-size: 100% auto !important;
		width: 319rpx;
		height: 142rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		margin: 0rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_price2_fd2_0_c2_c1_c0_c0_c1_c1 {
		font-size: 28rpx;
	}

	.shoppingCartSettlement_price1_fd2_0_c2_c1_c0_c0_c1_c1 {
		font-size: 32rpx;
	}

	.shoppingCartSettlement_fd2_0_c2_c1_c0_c0_c1_c1 {
		color: #3E80F6;
		font-weight: 700;
		line-height: 40rpx;
		font-size: 28rpx;
	}

	.shoppingCartSettlement_fd2_0_c2_c1_c0_c0_c1_c0 {
		color: #3E80F6;
		font-size: 28rpx;
		font-weight: 700;
		line-height: 40rpx;
	}

	.shoppingCartSettlement_fd2_0_c2_c1_c0_c0_c1 {
		margin: 16rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd2_0_c2_c1_c0_c0_c0_c0 {
		color: #3E80F6;
		font-size: 28rpx;
		font-weight: 700;
		line-height: 40rpx;
	}

	.shoppingCartSettlement_fd2_0_c2_c1_c0_c0 {
		border: 1px solid rgba(62, 128, 246, 1);
		background: rgba(250, 250, 250, 1);
		width: 319rpx;
		height: 142rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		background-size: 100% auto !important;
		margin: 0rpx 0rpx 0rpx 0rpx;
	}

	::v-deep .shoppingCartSettlement_fd2_0_c2_c1_c0 {
		margin: 33rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd2_0_c2_c0 {
		margin: 32rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd2_0_c1 {
		background: #eee;
		height: 1rpx;
		background-size: 100% auto !important;
		margin: 32rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd2_0_c0_c0_c1_c2_c1 {
		font-size: 24rpx;
		font-weight: 400;
		color: #999999;
	}

	.shoppingCartSettlement_price2_fd2_0_c0_c0_c1_c2_c0_c1 {
		font-size: 32rpx;
	}

	.shoppingCartSettlement_price1_fd2_0_c0_c0_c1_c2_c0_c1 {
		font-size: 32rpx;
	}

	.shoppingCartSettlement_fd2_0_c0_c0_c1_c2_c0_c1 {
		color: #EA3D13;
		font-weight: 700;
		font-size: 32rpx;
	}

	.shoppingCartSettlement_fd2_0_c0_c0_c1_c2_c0_c0 {
		font-size: 24rpx;
		font-weight: 700;
		color: #EA3D13;
	}

	.shoppingCartSettlement_fd2_0_c0_c0_c1_c2 {
		margin: 78rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd2_0_c0_c0_c1_c1_c0 {
		font-size: 24rpx;
		font-weight: 400;
		color: #999999;
	}

	.shoppingCartSettlement_fd2_0_c0_c0_c1_c1 {
		margin: 8rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd2_0_c0_c0_c1_c0 {
		font-size: 28rpx;
		font-weight: 500;
		color: #333333;
		-webkit-line-clamp: 2;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		height: 80rpx;
		line-height: 40rpx;
	}

	.shoppingCartSettlement_fd2_0_c0_c0_c1 {
		margin: 0rpx 0rpx 0rpx 24rpx;
		width: 100%;
	}

	.shoppingCartSettlement_fd2_0_c0_c0_c0 {
		width: 200rpx;
		height: 200rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd2_0_c0_c0 {
		// margin: 32rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd2_0 {
		background: #fff;
		background-size: 100% auto !important;
		padding: 24rpx 32rpx;
	}

	.shoppingCartSettlement_flex_3 {
		background: #fff;
		background-size: 100% auto !important;
		border-radius: 20rpx 20rpx 0rpx 0rpx;
		padding: 0rpx 32rpx 40rpx 32rpx;
	}

	.shoppingCartSettlement_fd3_2_c1 {
		padding: 30rpx 0rpx 0rpx 0rpx;
		color: #929292;
	}

	.shoppingCartSettlement_fd3_2_c0 {
		width: 400rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd3_2 {
		width: 100%;
		padding: 50rpx 0rpx 50rpx 0rpx;
	}

	.shoppingCartSettlement_fd3_1_c1_c1_c1_c2_c1 {
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.shoppingCartSettlement_fd3_1_c1_c1_c1_c2 {
		font-size: 22rpx;
		font-weight: 400;
		color: #fff;
	}

	.shoppingCartSettlement_fd3_1_c1_c1_c1_c1 {
		font-size: 22rpx;
		font-weight: 400;
		color: #fff;
		margin: 12rpx 0rpx 14rpx 0rpx;
	}

	.shoppingCartSettlement_fd3_1_c1_c1_c1_c0 {
		font-size: 28rpx;
		font-weight: 600;
		color: #fff;
	}

	.shoppingCartSettlement_fd3_1_c1_c1_c1 {
		padding: 31rpx 32rpx 0rpx 54rpx;
		height: 192rpx;
	}

	.shoppingCartSettlement_fd3_1_c1_c1_c0_c1_c2 {
		font-size: 24rpx;
		font-weight: 700;
		color: rgba(177, 11, 4, 1);
	}

	.shoppingCartSettlement_fd3_1_c1_c1_c0_c1_c1 {
		font-size: 24rpx;
		font-weight: 700;
		color: rgba(177, 11, 4, 1);
	}

	.shoppingCartSettlement_fd3_1_c1_c1_c0_c1_c0 {
		font-size: 24rpx;
		font-weight: 700;
		color: rgba(177, 11, 4, 1);
	}

	.shoppingCartSettlement_fd3_1_c1_c1_c0_c0_c1 {
		font-size: 46rpx;
		font-weight: 500;
		color: rgba(177, 11, 4, 1);
	}

	.shoppingCartSettlement_fd3_1_c1_c1_c0_c0_c0 {
		font-size: 24rpx;
		font-weight: 500;
		color: rgba(177, 11, 4, 1);
	}

	.shoppingCartSettlement_fd3_1_c1_c1_c0 {
		width: 196rpx;
		border-radius: 16rpx 0rpx 0rpx 16rpx;
		height: 192rpx;
	}

	.shoppingCartSettlement_fd3_1_c1_c1 {
		margin: 24rpx 0rpx 0rpx 0rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		box-shadow: -2rpx 4rpx 6rpx rgba(0, 0, 0, 0.06)rpx rgba(0, 0, 0, 0.0600);
		background-size: 100% 100%;
	}

	.shoppingCartSettlement_fd3_1_c1_c0 {
		width: 36rpx;
		height: 36rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 32rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd3_1_c0_c1_c1_c2_c1 {
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.shoppingCartSettlement_fd3_1_c0_c1_c1_c2 {
		font-size: 22rpx;
		font-weight: 400;
		color: #fff;
	}

	.shoppingCartSettlement_fd3_1_c0_c1_c1_c1 {
		font-size: 22rpx;
		font-weight: 400;
		color: #fff;
		margin: 12rpx 0rpx 14rpx 0rpx;
	}

	.shoppingCartSettlement_fd3_1_c0_c1_c1_c0 {
		font-size: 28rpx;
		font-weight: 600;
		color: #fff;
	}

	.shoppingCartSettlement_fd3_1_c0_c1_c1 {
		padding: 31rpx 32rpx 0rpx 54rpx;
		height: 192rpx;
	}

	.shoppingCartSettlement_fd3_1_c0_c1_c0_c1_c2 {
		font-size: 24rpx;
		font-weight: 700;
		color: rgba(177, 11, 4, 1);
	}

	.shoppingCartSettlement_fd3_1_c0_c1_c0_c1_c1 {
		font-size: 24rpx;
		font-weight: 700;
		color: rgba(177, 11, 4, 1);
	}

	.shoppingCartSettlement_fd3_1_c0_c1_c0_c1_c0 {
		font-size: 24rpx;
		font-weight: 700;
		color: rgba(177, 11, 4, 1);
	}

	.shoppingCartSettlement_fd3_1_c0_c1_c0_c0_c1 {
		font-size: 46rpx;
		font-weight: 500;
		color: rgba(177, 11, 4, 1);
	}

	.shoppingCartSettlement_fd3_1_c0_c1_c0_c0_c0 {
		font-size: 24rpx;
		font-weight: 500;
		color: rgba(177, 11, 4, 1);
	}

	.shoppingCartSettlement_fd3_1_c0_c1_c0 {
		width: 196rpx;
		border-radius: 16rpx 0rpx 0rpx 16rpx;
		height: 192rpx;
	}

	.shoppingCartSettlement_fd3_1_c0_c1 {
		margin: 24rpx 0rpx 0rpx 0rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		box-shadow: -2rpx 4rpx 6rpx rgba(0, 0, 0, 0.06)rpx rgba(0, 0, 0, 0.0600);
		background-size: 100% 100%;
	}

	.shoppingCartSettlement_fd3_1_c0_c0 {
		width: 36rpx;
		height: 36rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 32rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd3_0_c2 {
		width: 40rpx;
		height: 40rpx;
	}

	.shoppingCartSettlement_fd3_0_c1_c2 {
		width: 32rpx;
		height: 10rpx;
	}

	.shoppingCartSettlement_fd3_0_c1_c1 {
		line-height: 42rpx;
		font-size: 36rpx;
		font-weight: 700;
		color: #333333;
		margin: 0rpx 24rpx 0rpx 24rpx;
	}

	.shoppingCartSettlement_fd3_0_c1_c0 {
		width: 32rpx;
		height: 10rpx;
	}

	.shoppingCartSettlement_fd3_0_c0 {
		width: 40rpx;
		height: 40rpx;
	}

	.shoppingCartSettlement_fd3_0 {
		margin: 40rpx 0rpx 30rpx 0rpx;
	}

	.shoppingCartSettlement_flex_4 {
		padding: 0rpx 0rpx 0rpx 26rpx;
	}

	.shoppingCartSettlement_fd4_2 {
		color: #2A2A2A;
		font-size: 22rpx;
		font-weight: 400;
		line-height: 30rpx;
	}

	.shoppingCartSettlement_fd4_1 {
		color: rgba(153, 153, 153, 1);
		font-size: 22rpx;
		font-weight: 400;
		line-height: 30rpx;
	}

	.shoppingCartSettlement_noCheckfd4_0_c1_c0 {
		border-radius: 24rpx 24rpx 24rpx 24rpx;
		width: 24rpx;
		height: 24rpx;
	}

	.shoppingCartSettlement_checkfd4_0_c0_c0 {
		width: 24rpx;
		height: 24rpx;
		border-radius: 24rpx 24rpx 24rpx 24rpx;
	}

	::v-deep .shoppingCartSettlement_fd4_0 {
		margin: 0rpx 12rpx 0rpx 0rpx;
		transform: translateY(-4rpx);
	}

	.shoppingCartSettlement_fd5_0_c2_c0 {
		margin: 25rpx 0rpx 25rpx 0rpx;
		color: #3083FF;
		font-size: 32rpx;
		font-weight: 500;
		line-height: 46rpx;
	}

	.shoppingCartSettlement_fd5_0_c1_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 500;
		line-height: 40rpx;
		text-align: center;
	}

	.shoppingCartSettlement_fd5_0_c1 {
		border-bottom: 1px solid #eee;
		padding: 0rpx 0rpx 25rpx 0rpx;
	}

	.shoppingCartSettlement_fd5_0_c0_c0 {
		color: #333333;
		font-size: 32rpx;
		font-weight: 500;
		line-height: 45rpx;
		margin: 20rpx 0rpx 14rpx 0rpx;
	}

	.shoppingCartSettlement_fd5_0 {
		background: #fff;
		width: 540rpx;
		background-size: 100% auto !important;
		border-radius: 24rpx 24rpx 24rpx 24rpx;
	}

	.shoppingCartSettlement_flex_6 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		bottom: calc(0rpx + var(--window-bottom));
		background-size: 100% auto !important;
		padding-bottom: constant(safe-area-inset-bottom);
		padding-bottom: env(safe-area-inset-bottom);
	}

	.shoppingCartSettlement_fd6_1 {
		background: #F35D2A;
		font-size: 32rpx;
		color: #fff;
		line-height: 88rpx;
		font-weight: 500;
		width: 280rpx;
		height: 88rpx;
		text-align: center;
	}

	.shoppingCartSettlement_price2_fd6_0_c2 {
		font-size: 22rpx;
	}

	.shoppingCartSettlement_price1_fd6_0_c2 {
		font-size: 32rpx;
	}

	.shoppingCartSettlement_fd6_0_c2 {
		font-weight: 700;
		color: #EA3D1A;
	}

	.shoppingCartSettlement_fd6_0_c1 {
		line-height: 36rpx;
		font-size: 20rpx;
		font-weight: 700;
		color: #EA3D1A;
	}

	.shoppingCartSettlement_fd6_0 {
		margin: 0rpx 0rpx 0rpx 24rpx;
	}

	.shoppingCartSettlement_flex_7 {
		background: #fff;
		background-size: 100% auto !important;
		border-radius: 24rpx 24rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd7_1_c0 {
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
		line-height: 46rpx;
	}

	.shoppingCartSettlement_fd7_1 {
		padding: 48rpx 27rpx 72rpx 37rpx;
	}

	.shoppingCartSettlement_fd7_0_c2 {
		width: 40rpx;
		height: 40rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd7_0_c1_c2 {
		width: 50rpx;
		height: 50rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.shoppingCartSettlement_fd7_0_c1_c1 {
		font-size: 36rpx;
		font-weight: 600;
		color: #333333;
		line-height: 50rpx;
	}

	.shoppingCartSettlement_fd7_0_c1_c0 {
		width: 50rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		height: 50rpx;
	}

	.shoppingCartSettlement_fd7_0_c0 {
		width: 28rpx;
		height: 0rpx;
	}

	.shoppingCartSettlement_fd7_0 {
		padding: 40rpx 40rpx 0rpx 40rpx;
	}
	.cartBilling_fd1_2_c1_c2 {
		font-size: 28rpx;
		font-weight: 500;
		color: var(--benbenFontColor0);
	}
	
	.cartBilling_fd1_2_c1_c1 {
		margin: 0rpx 0rpx 0rpx auto;
		font-size: 28rpx;
		font-weight: 500;
		color: rgba(51, 51, 51, 1);
	}
	
	.cartBilling_fd1_2_c1_c0 {
		font-size: 32rpx;
		font-weight: 400;
		color: #666;
	}
	
	.cartBilling_fd1_2_c1 {
		margin: 0rpx 0rpx 32rpx 0rpx;
		padding-bottom: 32rpx;
		border-bottom: 1rpx solid #eee;
	}
	.cartBilling_fd1_2_c2_c2 {
		width: 12rpx;
		height: 22rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 0rpx 0rpx 12rpx;
	}
	
	.cartBilling_fd1_2_c2_c1 {
		margin: 0rpx 0rpx 0rpx auto;
		color: #b4b4b4;
		font-size: 32rpx;
		font-weight: 400;
	}
	
	.evaluate_title {
		background: #fff;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 32rpx 0rpx 0rpx;
		// border-bottom: 1px solid #eee;
	
		.evaluate_title_left {
			display: flex;
			align-items: center;
	
			.evaluate_title_left_1 {
				width: 7rpx;
				height: 30rpx;
				border-radius: 4rpx;
				background: #F35D2A;
				margin-right: 16rpx;
			}
	
			.evaluate_title_left_2 {
				font-size: 32rpx;
				font-weight: 500;
			}
		}
	
		.evaluate_title_right {
			text {
				font-size: 24rpx;
				color: #999;
				margin-right: 12rpx;
			}
		}
	}
	.coach_list {
		padding: 0rpx 32rpx;
		background: #fff;
	}
	.coach_item {
		width: 100%;
		display: flex;
		align-items: center;
		padding: 32rpx 0rpx 0rpx;
		// border-bottom: 1rpx solid #eee;
		.select_icon {
			width: 36rpx;
			height: 36rpx;
			margin-right: 24rpx;
			image {
				width: 36rpx;
				height: 36rpx;
			}
		}
		.coach_view {
			width: 100%;
			border-radius: 16rpx;
			display: flex;
			background: #FFFFFF;
			.course_item_left {
				width: 88rpx;
				height: 88rpx;
				
				image {
					width: 100%;
					height: 100%;
					border-radius: 50%;
				}
			}
				
			.course_item_right {
				width: calc(100% - 108rpx);
				margin-left: 20rpx;
				
				.course_item_right_1 {
					display: flex;
					align-items: center;
					justify-content: space-between;
					
					.coach_name {
						font-size: 30rpx;
						text-overflow: ellipsis;
						overflow: hidden;
						display: -webkit-box;
						-webkit-box-orient: vertical;
						-webkit-line-clamp: 1; /* 这里是超出几行省略 */
					}
				}
				.evaluate {
					margin-top: 4rpx;
				}
				.course_item_right_2 {
					margin-top: 16rpx;
					display: flex;
					.course_item_right_2_1 {
						color: #FD9E30;
						font-size: 20rpx;
						background: rgba(255,255,255,0.2);
						padding: 2rpx 16rpx;
						opacity: 1;
						border: 1px solid #FD9E30;
						border-radius: 35rpx;
						margin-right: 16rpx;
					}
				}
			}
		}
	}
	.select_coupon {
		// width: 136rpx;
		padding: 0 10rpx 0 0;
		height: 38rpx;
		background: linear-gradient(180deg, #FDD3D3 0%, #FFDEDE 100%);
		border-radius: 8rpx;
		margin: 0rpx 0rpx 0rpx auto;
		display: flex;
		align-items: center;
		color: #EA3D1A;
		font-size: 22rpx;
		image {
			width: 40rpx;
			height: 38rpx;
			margin-right: 6rpx;
		}
	}
	
</style>